<template>
	
		<view>
				<view class="one" @click="fn1">
					<text class="t1">个人资料</text>
					<text class="t2">></text>
				</view>
				<view class="one" @click="fn2">
					<text class="t1">地址管理</text>
					<text class="t2">></text>
				</view>
				<view class="one" @click="fn3">
					<text class="t1">主题风格</text>
					<text class="t2">></text>
				</view>
				<view class="one" @click="fn4">
					<text class="t1">关于</text>
					<text class="t2">版本号 v2.0.0</text>
				</view>
				<button class="btn" @click="fn4">退出登录</button>
				<view class="two">Copyright c 2019-2022 v-shop | v2</view>
				<view class="three">最后发布时间:202208161505</view>
			</view>
	</view>
</template>

<script>
		export default {
			data() {
				return {
					
				}
			},
			methods: {
				fn1(){
					uni.navigateTo({
						url:"../profile/profile"
					})
				},
				fn2(){
					uni.navigateTo({
						url:"../address/address"
					})
				},
				fn3(){
					uni.navigateTo({
						url:"../theme/theme"
					})
				},
				fn4(){
					uni.removeStorageSync("token")
					uni.switchTab({
						url:"/pages/mine/mine"
					})
				},
				
			},
			onShow(){
					
			}
		}
</script>

<style>
.one{
		width: 100%;
		height: 100rpx;
		border-bottom: 1px solid lightgray;
		display: flex;
		justify-content: space-between;
		line-height: 100rpx;
		padding-left: 20rpx;
		padding-right: 20rpx;
		box-sizing: border-box;
		font-size: 28rpx;
	}
	.t2{
		color: gray;
	}
	.btn{
		margin-top: 50rpx;
		height: 95rpx;
		line-height: 95rpx;
		font-size: 25rpx;
		font-weight: 500;
	}
	.two,.three{
		width: 100%;
		height: 50rpx;
		text-align: center;
		line-height: 50rpx;
		font-size: 20rpx;
	}
	.two{
		margin-top: 20rpx;
	}
</style>
